<nav class="main-navigation">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-1">
                <img class="main-logo" src="${server}/img/Home/pic_logo.png">
            </div>
            <div class="col-md-1">
                <img class="main-logo-text" src="${server}/img/Home/pic_text.png">
            </div>
            <div class="col-md-8">
                <div class="navbar-collapse">
                    <ul class="menu">
                        <li <#if active?? && active == "index">class="nav-current"</#if>><a href="${server}">首页</a></li>
                        <li <#if active?? && active == "department">class="nav-current"</#if>><a
                                href="${server}/department">部门简介</a></li>
                        <li <#if active?? && active == "workshow">class="nav-current"</#if>><a
                                href="${server}/work/show">作品展示</a></li>
                        <li><a href="#">关于我们</a></li>
                        <li><a href="#">合作交流</a></li>
                        <li><a href="#">联系我们</a></li>
                    </ul>
                </div>
            </div>
            <div class="col-md-2">
                <ul class="menu">
                <#if user??>
                    <li><a href="${server}/member/${user.username}/works">${user.username}</a></li>
                    <li><a href="${server}/setting/profile">个人设置</a></li>
                <#else>
                    <li><a href="${server}/login">登陆</a></li>
                    <li><a href="${server}/register">注册</a></li>
                </#if>
                </ul>
            </div>
        </div>
    </div>
</nav>